/**
 * 试管架相关请求
 */
import { GET, POST } from "./xhr";

// 新增试管架
export const fetchAddShelf = async (data: any) => await POST("/api/shelf/add", data);

// 获取所有试管架
export const fetchAllShelf = async () => await GET("/api/shelf/all");

// 删除试管架
export const fetchDelShelf = async (data: any) => await POST("/api/shelf/del", data);

// 更新试管架
export const fetchUpdateShelf = async (data: any) => await POST("/api/shelf/update", data);
